package com.fypg.module.medical.dal.dataobject.registerorder;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.fypg.framework.mybatis.core.dataobject.BaseDO;

/**
 * 挂号订单信息 DO
 *
 * @author 芋道源码
 */
@TableName("medical_register_order")
@KeySequence("medical_register_order_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RegisterOrderDO extends BaseDO {

    /**
     * 主键
     */
    @TableId(type = IdType.INPUT)
    private String id;
    /**
     * 
     */
    private String medicalCardId;
    /**
     * 
     */
    private String hospitalId;
    /**
     * 
     */
    private String hospitalEncode;
    /**
     * 
     */
    private String hospitalName;
    /**
     * 
     */
    private String departmentEncode;
    /**
     * 
     */
    private String departmentName;
    /**
     * 
     */
    private String doctorEncode;
    /**
     * 
     */
    private String doctorName;
    /**
     * 
     */
    private String registerType;
    /**
     * 
     */
    private String registerScheduleDate;
    /**
     * 
     */
    private String registerBeginTime;
    /**
     * 
     */
    private String registerEndTime;
    /**
     * 
     */
    private String patientName;
    /**
     * 
     */
    private String patientCardNo;
    /**
     * 
     */
    private String patientCardType;
    /**
     * 
     */
    private String patientIdNo;
    /**
     * 
     */
    private String patientIdType;
    /**
     * 
     */
    private String patientMobilePhone;
    /**
     * 
     */
    private String patientGenderType;
    /**
     * 
     */
    private String openId;
    /**
     * 
     */
    private String unionId;
    /**
     * 
     */
    private String payType;
    /**
     * 
     */
    private String payModeType;
    /**
     * 
     */
    private String platformOrderNo;
    /**
     * 
     */
    private Boolean isPay;
    /**
     * 
     */
    private Integer totalFee;
    /**
     * 
     */
    private Integer medicalInsuranceFee;
    /**
     * 
     */
    private Integer discountFee;
    /**
     * 
     */
    private Integer payFee;
    /**
     * 
     */
    private String payTradeNo;
    /**
     * 
     */
    private LocalDateTime payTime;
    /**
     * 
     */
    private String hisOrderNo;
    /**
     * 
     */
    private String hisTradeNo;
    /**
     * 
     */
    private String orderStatus;
    /**
     * 
     */
    private Boolean isCancelOrder;
    /**
     * 
     */
    private LocalDateTime cancelOrderTime;
    /**
     * 
     */
    private String cancelOrderReason;
    /**
     * 
     */
    private String waitNo;
    /**
     * 
     */
    private String waitBeginTime;
    /**
     * 
     */
    private String waitEndTime;
    /**
     * 
     */
    private String visitLocation;
    /**
     * 
     */
    private String visitDescribe;
    /**
     * 
     */
    private String orderSource;
    /**
     * 
     */
    private String orderReason;
    /**
     * 
     */
    private Boolean isHandleBusinessNotice;
    /**
     * 
     */
    private Integer handleBusinessNoticeCount;
    /**
     * 
     */
    private LocalDateTime handleBusinessNoticeTime;
    /**
     * 
     */
    private String payBody;
    /**
     * 
     */
    private String thirdPartyData;
    /**
     * 
     */
    private String extendData;
    /**
     * 
     */
    private Integer sortCode;
    /**
     * 
     */
    private String description;
    /**
     * 
     */
    private String remark;
    /**
     * 
     */
    private String registerTimeFlag;
    /**
     * 
     */
    private LocalDateTime payEffectiveTime;


}